package io.renren.modules.substation.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.substation.dao.TBaseOperationLogDao;
import io.renren.modules.substation.entity.TBaseOperationLogEntity;
import io.renren.modules.substation.service.TBaseOperationLogService;


@Service("tBaseOperationLogService")
public class TBaseOperationLogServiceImpl extends ServiceImpl<TBaseOperationLogDao, TBaseOperationLogEntity> implements TBaseOperationLogService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<TBaseOperationLogEntity> page = this.page(
                new Query<TBaseOperationLogEntity>().getPage(params),
                new QueryWrapper<TBaseOperationLogEntity>()
        );

        return new PageUtils(page);
    }

}